package com.yanqu.road.server.cmd.activity.stronghold.cross;

import com.yanqu.road.pb.activity.StrongholdWarProto;
import com.yanqu.road.server.command.Cmd;
import com.yanqu.road.server.command.Command;
import com.yanqu.road.message.YanQuMessage;
import com.yanqu.road.server.protocol.GameProtocol;
import io.netty.channel.ChannelHandlerContext;

@Cmd(code = GameProtocol.S_CROSS_STRONGHOLD_NOTICE_ELIMINATE_UNION_SCORE, desc = "")
public class CrossEliminateUnionScoreNotifyCmd implements Command {

    @Override
    public void execute(ChannelHandlerContext ctx, YanQuMessage packet) throws Exception {
        StrongholdWarProto.CrossStrongholdNoticeUnionScoreMsg msg = StrongholdWarProto.CrossStrongholdNoticeUnionScoreMsg.parseFrom(packet.getBytes());
        int activityId = msg.getActivityId();
        String score = msg.getScore();
        String unionUid = msg.getUnionUid();
        int type = 0;
     //   StrongholdActivityRankMgr.changeUnionActivityValueDirectly(activityId,type,unionUid,0, UnionRiseRankArgs.NOTIFY_TYPE_NORMAL,score);
    }
}
